<JSP:forward>的困惑
来源:百度知道 编辑:UC知道 时间:2024/06/25 23:32:41
forward_action_file.jsp内容如下
<%@ page language="Java" contentType="text/html;charset=gb2312"%>
<html>
<head><title>forward 动作范例页面</title></head>
<boby><div align="center">
<%out.println("<font size=6>include动作演示</font>");%><br>
<%out.println(" 书名:");%>
<%=request.getParameter("bookName")%><br>
<%out.println("作者:");%>
<%=request.getParameter("authorName")%><br>
</div></body>
</html>
forward_action.jsp内容如下:
<%@ page language="Java" contentType="text/html;charset=gb2312"%>
<html>
<head><title>forward 动作范例页面</title></head>
<body><div align="center">
<JSP:forward page="forward_action_file.jsp">
<JS
<%@ page language="Java" contentType="text/html;charset=gb2312"%>
<html>
<head><title>forward 动作范例页面</title></head>
<boby><div align="center">
<%out.println("<font size=6>include动作演示</font>");%><br>
<%out.println(" 书名:");%>
<%=request.getParameter("bookName")%><br>
<%out.println("作者:");%>
<%=request.getParameter("authorName")%><br>
</div></body>
</html>
forward_action.jsp内容如下:
<%@ page language="Java" contentType="text/html;charset=gb2312"%>
<html>
<head><title>forward 动作范例页面</title></head>
<body><div align="center">
<JSP:forward page="forward_action_file.jsp">
<JS
你没有刷新
加上这句在右面
out.flush();
flush 后才会把 out.print 的内容显示出来
不应该出问题的啊 我看参数都对的啊 你看你的forward_action_file.jsp 文件的路径有问题吗
<jsp:forward>标签的作用
<JSP:forward>的困惑
<jsp:forward>指令问题
<jsp:forward>和<jsp:include>有什么区别,请详细说一下
The jsp:param action must not be used outside the jsp:include, jsp:forward, or jsp:params elements
Struts+jstl做项目,为什么我的jsp页面struts的forward方法转向以后,css就不起作用拉?
<jsp;javabean的问题
forward是什么意思?
关于JSP的<jsp:include***>方法的问题
关于JSP语法<jsp:usebean>的用法